package org.umlviewer.xmiparser;

import org.umlviewer.model.Constants;
import org.umlviewer.model.UmlDiagram;
import org.jdom2.Element;
import org.jdom2.Namespace;

/**
 *
 * @author Rafa
 */
public abstract class XmiParser {        
    
    private Namespace xminamespace;
    
    public XmiParser()
    {
        xminamespace = Constants.XMINAMESPACE;
    }   
    
    public abstract UmlDiagram getUmlDiagram(Element xmiRoot);

    public Namespace getXmiNamespace() {
        return xminamespace;
    }

    public void setXmiNamespace(Namespace xminamespace) {
        this.xminamespace = xminamespace;
    }
    
    
    
}
